
import { IClientMessage } from "./IClientMessage";
import { Client } from "../../Network/Socket/Client";
import FScene from "../../Support/FScene";

export interface IReceiveHandler {
	/**
     * 处理接收到服务端的消息数据
     */
    onDeal(client: Client, msg: IClientMessage): void;
    /**
     * 处理出错
     */
    onDealError(client: Client, msg: IClientMessage, error: string): void;
}
